package br.ufpe.cin.imlm2.jbeat.soot.common.filters;

import soot.Scene;
import soot.SootClass;

/**
 * Retains exception classes (<code>SootClass</code> objects) which are part of
 * Application classes set. This set may vary for the same application depending
 * on the parameters given to Soot.
 * 
 * @author Irineu
 * 
 */
public class ApplicationExceptionFilter extends ThrowableFilter {

	@Override
	public boolean retains(SootClass t) {
		return super.retains(t)
				&& Scene.v().getApplicationClasses().contains(t);
	}

}
